<template>
  <div class="p-5 m-5 bg-white rounded-lg">
    <el-form :inline="true" class="mt-2.5" label-width="auto">
      <el-form-item prop="username" v-for="(item, index) in s1" :key="index" :label="item">
        <el-input placeholder="请输入" />
      </el-form-item>
      <el-form-item>
        <el-button type="primary" @click="cl">查询</el-button>
        <el-button>重置</el-button>
      </el-form-item>
    </el-form>
  </div>
</template>
<script setup>
import { ElMessage } from "element-plus";

const s1 = [
  "订单编号",
  "产品工号",
  "产品名称",
  "物料名称",
  "机号",
  "图号",
  "件号",
  "数量",
  "备注"
]

function cl() {
  ElMessage.success("该订单是加急订单，自动跳转中");
}
</script>
<style lang="scss" scoped></style>
